package cn.mazexal.exambg.models.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 用户做题记录
 *
 */
@Data
@TableName(value = "user_exam_log")
public class UserExamLogDO implements Serializable {

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.INPUT)
	private Long id;

	/**
	 *
	 */
	@TableField(value = "exam_bank_id")
	private Long examBankId;

	/**
	 *
	 */
	@TableField(value = "exam_id")
	private Long examId;

	/**
	 *
	 */
	@TableField(value = "user_id")
	private Long userId;

	/**
	 *
	 */
	@TableField(value = "begin_time")
	private Long beginTime;

	/**
	 *
	 */
	@TableField(value = "end_time")
	private Long endTime;

	/**
	 * 花费时间戳
	 */
	@TableField(value = "cost_time")
	private Long costTime;

	/**
	 *
	 */
	@TableField(value = "is_del")
	private Integer isDel;

	/**
	 * 分数
	 */
	@TableField(value = "score")
	private BigDecimal score;

	/**
	 *
	 */
	@TableField(value = "extra_info")
	private String extraInfo;

	/**
	 * 状态
	 */
	@TableField(value = "exam_status")
	private Integer examStatus;


	@TableField(value = "right_num")
	private Integer rightNum;

	@TableField(value = "wrong_num")
	private Integer wrongNum;
}